package com.example.mapper;

import com.example.entity.Account;
import com.example.entity.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {

    List<User> selectAll( User user);


    void insert(User user);


    User selectByUsername(String username);



    void updateById(User user);


    void deleteById(Integer id);

    void deleteBatch(List<Integer> idList);


    Account selectById(String id);
}
